package com.hllxd.hism.star.basic.service.model.rock;

import lombok.Data;

/**
 * @author lixiyong
 * @date 2020.11.04
 */
@Data public class YarnApplicationKillEntity {
    public Long id;
    public String clusterName;
    public String queue;
    public String appID;
    public String accessID;
    public String jobName;
    public String optUserID;
    public String state;
    public String  createTime;


    public static YarnApplicationKillEntity build(String clusterName, String queue, String accessID, String appid, String state) {
        YarnApplicationKillEntity thiz = new YarnApplicationKillEntity();
        thiz.clusterName = clusterName;
        thiz.queue = queue;
        thiz.appID = appid;
        thiz.accessID = accessID;
        thiz.state = state;
        return thiz;
    }
}
